package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("exam_information")
public class Exam {
    @TableId(type = IdType.AUTO)
    private Long examId;
    private String examScore;
    private Long licenceId;
    private Long studentId;
    private Long subjectId;
    private java.sql.Date appTime;
    private Date examTime;

    private Licence licence;
    private Student student;
    private Subject subject;
}
